// 	Name: 02.c
//	Description: Chapter 3 project 2
//	Author: StableGenius
//	Date: 2020-05-06
//	Email: feng@dongfa.pro

#include <stdio.h>

int main(void){
	int item, month, day, year;
	float price;
	
	printf("Enter item number: ");
	scanf("%d", &item);
	
	printf("Enter unit price: ");
	scanf("%f", &price);
	
	printf("Enter purchase date (mm/dd/yyyy): ");
	scanf("%d/%d/%d", &month, &day, &year);
	
	printf("Item\tUnit\t\tPurchase\n");
	printf("\tPrice\t\tDate\n");
	printf("%d\t$%6.2f\t\t%.2d/%.2d/%.2d", item, price, month, day, year);
	
	return 0;
}